Skip to content

deps: bump iceberg-rust to latest after picking up fixes for #3856 and #3860#3958

Merged
mbutrovich merged 1 commit intoapache:mainfrom
mbutrovich:bump_iceberg_rust
Apr 16, 2026
Merged

deps: bump iceberg-rust to latest after picking up fixes for #3856 and #3860#3958
mbutrovich merged 1 commit intoapache:mainfrom
mbutrovich:bump_iceberg_rust

Conversation

@mbutrovich
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #3856.
Closes #3860.

Rationale for this change

Two bugs in iceberg-rust were causing incorrect results and errors in Comet's native Iceberg scan:

  1. INT96 timestamps were read with the wrong TimeUnit (nanoseconds instead of microseconds), producing ~1170 year offsets on migrated tables with far-future dates.
  2. PredicateConverter mapped incorrect Parquet leaf column indices for migrated tables containing nested types (struct/array/map), causing "column isn't a root column" errors when filter predicates were pushed down.

Both were fixed upstream in iceberg-rust (#2301, #2307).

What changes are included in this PR?

  • Bump iceberg and iceberg-storage-opendal dependencies to iceberg-rust commit a2f067d which includes both fixes.
  • Add two regression tests to CometIcebergNativeSuite.

How are these changes tested?

  • migration - INT96 timestamp: writes Parquet with INT96 timestamps (flat, struct, array, map) using dates outside the nanosecond range, imports into Iceberg, and verifies Comet reads match Spark/raw Parquet.
  • filter with nested types in migrated table: creates a migrated table with struct/array/map columns and a trailing flat column, then verifies filter predicates on that flat column work correctly.

Copy link
Copy Markdown
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mbutrovich

@mbutrovich mbutrovich merged commit decd85a into apache:main Apr 16, 2026
133 checks passed
@mbutrovich mbutrovich deleted the bump_iceberg_rust branch April 16, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants